<div class="row RowSpace" style="margin-bottom:20px;">
  <div class="LableDiv" style="width:50px;"><Btn class="BtnSave" value="保存" ng-click="btnSave()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn value="放弃" ng-click="btnCancel()"></Btn></div>
  <div class="LableDiv" style="width:50px;"><Btn class="BtnAdd" value="新增" ng-click="btnAdd()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn class="BtnDelete" value="删除" ng-click="btnDelete()"></Btn></div>
  <div class="LableDiv" style="width:50px;">
    <BtnFind DisplayName="查找" WindowTitle="调度方案" module="Module.ScheduleProgram">
      <FColumn type="0" width="100px" displayname="编码" valuefield="Code"></FColumn>
      <FColumn type="textbox" width="100px" displayname="名称" valuefield="Name"></FColumn>
      <FColumn Type="Calendar" DisplayName="首次执行时间" width="100px" ValueField="FirstTime"></FColumn>
      <FColumn Type="CheckBox" DisplayName="系统预置" width="80px" ValueField="IsSystem"></FColumn>
      <FColumn type="TextBox" width="206px" DisplayName="备注" valuefield="Remark"></FColumn>
    </BtnFind>
  </div>
  <div class="LableDiv" style="width:60px;"><Btn value="列表" ng-click="btnList()"></Btn></div>
  <PageButton module="Module.ScheduleProgram"></PageButton>
</div>
<div class="row RowSpace">
  <div class="LableDiv"><Label IsEmpty="false">编码</Label></div>
  <div class="InputDiv"><TextBox value="Module.ScheduleProgram.FocusedRecord.Code" isempty="false"></TextBox></div>
  <div class="LableDiv"><Label IsEmpty="false">名称</Label></div>
  <div class="InputDiv"><TextBox value="Module.ScheduleProgram.FocusedRecord.Name"></TextBox></div>
  <div class="LableDiv"><Label IsEmpty="false">首次时间</Label></div>
  <div class="InputDiv"><Calendar value="Module.ScheduleProgram.FocusedRecord.FirstTime"></Calendar></div>
  <div class="LableDiv"><Label>系统预置</Label></div>
  <div class="InputDiv"><CheckBox value="Module.ScheduleProgram.FocusedRecord.IsSystem" Enabled="false"></CheckBox></div>
</div>
<div class="row RowSpace">
  <div class="LableDiv" style="width:8%;"><Label>年数</Label></div>
  <div class="InputDiv" style="width:6%;"><NumberBox value="Module.ScheduleProgram.FocusedRecord.Years" Round="{Precision: 0}" MinValue="0"></NumberBox></div>
  <div class="LableDiv" style="width:5%;"><Label>月数</Label></div>
  <div class="InputDiv" style="width:6%;"><NumberBox value="Module.ScheduleProgram.FocusedRecord.Months" Round="{Precision: 0}" MinValue="0"></NumberBox></div>
  <div class="LableDiv" style="width:8%;"><Label>天数</Label></div>
  <div class="InputDiv" style="width:6%;"><NumberBox value="Module.ScheduleProgram.FocusedRecord.Days" Round="{Precision: 0}" MinValue="0"></NumberBox></div>
  <div class="LableDiv" style="width:5%;"><Label>小时数</Label></div>
  <div class="InputDiv" style="width:6%;"><NumberBox value="Module.ScheduleProgram.FocusedRecord.Hours" Round="{Precision: 0}" MinValue="0"></NumberBox></div>
  <div class="LableDiv" style="width:8%;"><Label>分钟数</Label></div>
  <div class="InputDiv" style="width:6%;"><NumberBox value="Module.ScheduleProgram.FocusedRecord.Minutes" Round="{Precision: 0}" MinValue="0"></NumberBox></div>
  <div class="LableDiv" style="width:5%;"><Label>秒数</Label></div>
  <div class="InputDiv" style="width:6%;"><NumberBox value="Module.ScheduleProgram.FocusedRecord.Seconds" Round="{Precision: 0}" MinValue="0"></NumberBox></div>
  <div class="LableDiv" IsEmpty="false"><Label>结束方式</Label></div>
  <div class="InputDiv"><DropDownList value="Module.ScheduleProgram.FocusedRecord.EndMode" enum="EndModeEnum" IsEmpty="false" change="EndMode_Change()"></DropDownList></div>
</div>
<div class="row RowSpace">
  <div class="LableDiv"><Label IsEmpty="{{Module.ScheduleProgram.FocusedRecord.EndMode != EndModeEnum.EndTime.Value}}">结束时间</Label></div>
  <div class="InputDiv"><Calendar value="Module.ScheduleProgram.FocusedRecord.EndTime" Enabled="{{Module.ScheduleProgram.FocusedRecord.EndMode == EndModeEnum.EndTime.Value}}"></Calendar></div>
  <div class="LableDiv"><Label IsEmpty="{{Module.ScheduleProgram.FocusedRecord.EndMode != EndModeEnum.Repeat.Value}}">重复次数</Label></div>
  <div class="InputDiv"><NumberBox value="Module.ScheduleProgram.FocusedRecord.RepeatTimes" Enabled="{{Module.ScheduleProgram.FocusedRecord.EndMode == EndModeEnum.Repeat.Value}}" MinValue="1"></NumberBox></div>
  <div class="LableDiv"><Label>备注</Label></div>
  <div class="InputDiv" style="height:80px;"><TextareaBox value="Module.ScheduleRequest.FocusedRecord.Remark"></div>
</div>
